package com.open.capacity.finance.dto.audit_model_40;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ExcelData implements IExcelDataModel, IExcelModel {

    //行号
    private Integer rowNum;
    //错误消息
    private String errorMsg;



    @Excel(name = "单位名称")
    private String companyName;

    @Excel(name = "卡片编号")
    private String serialNumber;


    @Excel(name = "资产分类代码")
    private String categoryName;

    @Excel(name = "资产名称")
    private String assetName;

    @Excel(name = "规格型号")
    private String model;

    @Excel(name = "使用部门")
    private String departmentName;

    @Excel(name = "使用人")
    private String userName;

    @Excel(name = "存放地点")
    private String location;

    @Excel(name = "取得日期", format = "yyy-MM-dd")
    private Date recordDate;

    @Excel(name = "原值")
    private BigDecimal origValue;

    @Excel(name = "告警", replace = {"价值大于100万_1", "价值大于300万_2"})
    private Integer type;

    @Excel(name = "净值")
    private BigDecimal netValue;

    @Excel(name = "数量")
    private Integer count;

    @Excel(name = "备注")
    private String remark;

    @Excel(name = "累计折旧")
    private BigDecimal depreciationValue;

    @Excel(name = "折旧年限")
    private Integer depreciationYear;

    @Excel(name = "入账日期")
    private Date accountDate;

    @Excel(name = "会计凭证号")
    private String pzh;

    @Excel(name = "使用状态")
    private String useState;

    @Excel(name = "品牌")
    private String brand;

}
